package com.bitsfromspace.ubertorrent;

/**
 * TorrentFileInfo is a helper class for the {@link Torrent} files. It stores the path and size for a file.
 * 
 * @author: chris.oudeman
 * @since: Jan 5, 2011
 */
public class TorrentFileInfo {

	private final String path;
	private final long size;

	protected TorrentFileInfo(String path, long size) {

		this.path = path;
		this.size = size;
	}

	/**
	 * Returns the path of this {@link TorrentFileInfo}
	 */
	public String getPath() {

		return path;
	}

	/**
	 * Returns the size of this {@link TorrentFileInfo}
	 */
	public long getSize() {

		return size;
	}


}


